package com.woniu.outpatient.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.woniu.user.domain.Dept;
import com.woniu.user.domain.DeptAndDoctorName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 功能描述
 *
 * @author PC
 * @date -2023/2/16-时间-14:51
 * @product medical-project
 */
@FeignClient(value = "wolf-user")
public interface UserDeptAndDoctorService {
    @GetMapping("/dept/getdeptList")
     AjaxResult getdeptList();

    @GetMapping("/doctor/getDoctorList")
    AjaxResult getDoctorList();

    @GetMapping("/doctor/getDoctorNameAndDeptName/{doctorId}")
    DeptAndDoctorName getDoctorNameAndDeptName(@PathVariable("doctorId") Long doctorId);

    @GetMapping("/dept/de/{id}")
    Dept  selectById(@PathVariable("id") long id);

}
